import { IMessageBase } from "../../Framework/MQ/IMessageBase";
import { MessageManager } from "../../Framework/MQ/MessageManager";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SLogFunctionCount
    
    export  class SLogFunctionCount extends IMessageBase
    {
        constructor(arg1: Boolean=false)
        {
            
            super();if (arg1) 
            {
                MessageManager.instance().regist(this);
            }
            return;
        }

        public /* override */ getType(): int
        {
            return this._type;
        }

        public /* override */ clone(): IMessageBase
        {
            return new SLogFunctionCount();
        }

        public /* override */ __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.day);
            arg1.writeInt(this.playerId);
            arg1.writeInt(this.functionId);
            arg1.writeInt(this.functionExtend);
            arg1.writeInt(this.intExtend);
            arg1.writeString(this.stringExtend);
            return;
        }

        public /* override */ __read(arg1: SerializeStream): void
        {
            this.day = arg1.readInt();
            this.playerId = arg1.readInt();
            this.functionId = arg1.readInt();
            this.functionExtend = arg1.readInt();
            this.intExtend = arg1.readInt();
            this.stringExtend = arg1.readString();
            return;
        }

        public /* const */_type: int=267;

        public /* var */day: int;

        public /* var */playerId: int;

        public /* var */functionId: int;

        public /* var */functionExtend: int;

        public /* var */intExtend: int;

        public /* var */stringExtend: string;

        public static /* var */_regist: SLogFunctionCount;
    }

            SLogFunctionCount._regist = new SLogFunctionCount(true);
        